/*
 * CrossoverStrategy.h
 *
 *  Created on: Oct 21, 2013
 *      Author: filipe
 */

#ifndef CROSSOVERSTRATEGY_H_
#define CROSSOVERSTRATEGY_H_

namespace EvolutionaryOptimization
{
	template<class T>
	class CrossoverStrategy
	{
		protected:

			int _Dimension;

		public:

			CrossoverStrategy(int dimension)
			{
				_Dimension = dimension;
			}

			virtual ~CrossoverStrategy()
			{
			}

			virtual void PerformCrossover(T *child1, T *child2) const = 0;
	};
}

#endif
